//! Implementation of class TranspShapeFactory
/*!
\file TranspShapeFactory.cpp
\author Andreas Lehner
\date 13.11.2012
*/

#include "TranspShapeFactory.h"
#include "TranspCircle.h"
#include "TranspRectangle.h"

Shape* TranspShapeFactory::createCircle(TPosition const& pos, float const& radius, std::string const& color){
	return new TranspCircle(pos, radius, color);
}

Shape* TranspShapeFactory::createRectangle(TPosition const& pos, TSize const& size, std::string const& color){
	return new TranspRectangle(pos, size, color);
}